package net.sourceforge.peertwitter.mbpast;

import java.util.List;

import net.sourceforge.peertwitter.core.Profile;
import net.sourceforge.peertwitter.core.messaging.TweetMessage;
import net.sourceforge.peertwitter.scamp.Swarm;

import rice.p2p.commonapi.Id;

public interface Replication extends ReplicationTimestamp {
	public abstract boolean isComplete();

	public abstract Id getId();

	public abstract Profile getProfile();

	public abstract void setSwarm(Swarm swarm);

	public abstract Swarm getSwarm();

	public abstract void addTweets(List<TweetMessage> messages);

	public abstract void addTweet(TweetMessage tweetMessage);

	public abstract void setUpdates(List<TweetMessage> updates);

	public abstract List<TweetMessage> getLastUpdates();

	public abstract ReplicationTimestamp getTimestamp();

	public abstract void setProfile(Profile profile);
}